﻿using System;
using System.Collections.Generic;
using System.Web;
using NFinal.Advanced;


namespace WebMvc.App.Controllers
{

    [BaseUrl("baseUrl")]
    public class IndexController: Controller
    {
        [PostHtml("Index-{id}page.htm")]
        public void Index(int id,string name)
        {
            string message = "我是页头,来自viewBag.";//
            App.Common.UserControl.Footer footer = new App.Common.UserControl.Footer();
            footer.message = "我是页角说明,来自控件.";
            View("Index.aspx");
        }
    }
}